package com.aiit.datamanager.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DbInfo {
    private int dbId;
    private String dbType; // MongoDB, MySQL, 这类type
    private int sourceOrAim; //是源还是目标, 0是目标, 1是源
    private String dbName; // 库名称
    private int ownerId; // 暂定为使用departmentId作为库的ownerId
    private String host;
    private int port;
    private String username;
    private String password;
    private String note; // 备注
}
